local Sprites = require 'sprites'
local Minefield = require 'minefield'


function love.load()
    Sprites.load('tiles.png', 'tiles.txt')
    love.graphics.setDefaultFilter('nearest', 'nearest')


    -- game states: menu, game, pause
    --[[
    gamestate = 'menu'
    --]]

    local minefield = Minefield.new(10, 10, 25)
end


function love.update(dt)

end


function love.keypressed(key)
    if key == 'escape' then
        love.event.push('quit')
    end
end


function love.keyreleased(key)

end


function love.draw()
    
end